package com.ytkj.digitalConstruction.httpbean.user.req;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import com.ytkj.digitalConstruction.httpbean.PageParam;

/**
 * 根据用户组获取用户列表
 * @author 常广州
 *
 */
public class UserListByUserGroupId extends PageParam {
	
	/**
	 * 用户组Id
	 */
	@NotNull(message="用户组Id不能为空")
	private Integer userGroupId;
	//用户名
	@Size(max=50,message="用户姓名不能为空！")
	private String userNames;

	public Integer getUserGroupId() {
		return userGroupId;
	}

	public void setUserGroupId(Integer userGroupId) {
		this.userGroupId = userGroupId;
	}

	public String getUserNames() {
		return userNames;
	}

	public void setUserNames(String userNames) {
		this.userNames = userNames;
	}

}
